import request from "@/utils/request";

//标签列表
export function list(query) {
    return request({
        url: '/admin/user/label/list',
        method: 'post',
        data: query
    })
}

//添加标签
export function add(query) {
    return request({
        url: '/admin/user/label/add',
        method: 'post',
        data: query
    })
}

//删除标签
export function del(query) {
    return request({
        url: '/admin/user/label/del',
        method: 'post',
        data: query
    })
}

//编辑标签
export function edit(query) {
    return request({
        url: '/admin/user/label/edit',
        method: 'post',
        data: query
    })
}

//所有标签
export function getAll(query) {
    return request({
        url: '/admin/user/label/getAll',
        method: 'post',
        data: query
    })
}